using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace bookmeetingroom.Data.Entities
{
    public class Facility : EntityBase
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        [StringLength(100)]
        public string Name { get; set; }


        [ForeignKey("Company")]
        public Guid CompanyId { get; set; }
   
        public List<MeetingRoomFacility> MeetingRoomFacilities { get; set; } = new List<MeetingRoomFacility>();
    }
}